package entity.salary;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-27
 */
@Getter
@Setter
@TableName("sa_account")
public class SaAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("sa_id")
    private Integer saId;

    /**
     * 账单月份
     */
    @TableField("acount_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date acountTime;

    /**
     * 社保缴费
     */
    @TableField("social_count")
    private Double socialCount;

    /**
     * 公积金缴费
     */
    @TableField("accum_count")
    private Double accumCount;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 删除标识
     */
    @TableField("delete_flag")
    private Integer deleteFlag;


}
